<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <title>11-表单控件</title>
</head>
<body>
<!--

-->
<form action="http://www.baidu.com" method="get">
    用户 <input type="text" name="username" placeholder="请输入用户名"> <br>
    密码 <input type="password" name="password" value="123"> <br>
    性别
    <input type="radio" name="sex" value="male"> 男
    <input type="radio" name="sex" value="female" checked="checked"> 女 <br>
    喜好
    <input type="checkbox" name="hobby" value="smoke" checked> 抽烟
    <input type="checkbox" name="hobby" value="drink"> 喝酒
    <input type="checkbox" name="hobby" value="firehead"> 烫头 <br>
    生日 <input type="date" name="birthday"> <br>
    头像 <input type="file" name="photo"> <br>
    <input type="reset" value="初始化">
    <input type="submit">
</form>

</body>
</html>